package org.rency.ues.engine.service;

import org.rency.ues.domain.request.SignRequest;
import org.rency.ues.domain.request.VerifySignRequest;
import org.rency.ues.domain.response.SignResponse;
import org.rency.ues.domain.response.VerifySignResponse;

/**
 * 加签/验签服务
 *
 * @author: Created by user_rcy@163.com on 2016/08/31.
 * @version: V1.0.0
 * @since JDK 1.8
 */
public interface VerifyService {

    /**
     * 加签
     * @param request
     * @return
     */
    public SignResponse sign(SignRequest request);

    /**
     * 验签
     * @param request
     * @return
     */
    public VerifySignResponse verifySign(VerifySignRequest request);

}